@charset "utf-8";
@import "reset.scss";
@mixin common {
  .nav {
    width: 100%;
    height: 1.2rem;
    border: 0px solid black;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .box1 {
      width: 2.8rem;
      height: 0.8rem;
      font-size: 0.4rem;
      margin-left: 0.2667rem;
      line-height: 0.8rem;
      font-weight: bold;
      position: relative;
      margin-left: 0.9333rem;

      i {
        color: #ff9344;
        font-size: 0.7333rem;
        position: absolute;
        left: -0.8rem;
      }
    }

    .box2 {
      width: 1.0667rem;
      height: 0.5333rem;
      font-size: 0.32rem;
      margin-right: 0.2667rem;
      margin-top: 0.4rem;
      font-weight: bold;
      position: relative;

      i {
        color: #ff9344;
        font-size: 0.3333rem;
        position: absolute;
        top: 0;
        right: 0;
      }
    }
  }
}

.wrap {
  header {
    width: 10rem;
    height: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;

    img {
      width: 1.64rem;
      height: 1.64rem;

     
    }

    .search {
      position: relative;
      width: 3.6rem;
      height: .7467rem;
   
      input {
        width: 100%;
        height: 100%;
        display: block;
        border: .0267rem solid #ff9344;
        border-radius: 30px;
        font-size: 0.36rem;
        color: #777777;
      }

      i {
        color: #ff9344;
        font-size: 0.4667rem;
        position: absolute;
        top: 50%;
        right: 0.2667rem;
        transform: translateY(-50%);
      }
    }

    .diqu {
      position: relative;
      height: 0.7467rem;
      display: flex;
      justify-content: flex-start;
     
     

      select {
        width: 2.12rem;
        height: 0.7467rem; 
        border: .0267rem solid #ff9344;
        color: #000;
        font-size: 0.3467rem;
        font-weight: bold;
        appearance: none;
        background: transparent;
        padding-left: 0.1867rem;
       
      }

      i {
        color: #ff9344;
        position: absolute;
        top: 50%;
        right: 0.1333rem;
        font-size: 0.4267rem;
        transform: translateY(-50%);
      }
    }
  }

  main {
    margin-bottom: 1.8rem;
    .shoutu {
      width: 10rem;
      height: 3.8267rem;
      overflow: hidden;

      .shoutumax {
        width: 30rem;
        display: flex;
        overflow: hidden;
        animation: donghua 20s linear infinite;

        img {
          width: 10rem;
          height: 3.8267rem;
        }
      }
    }

    @keyframes donghua {
      0% {
        transform: translateX(0);
      }
      20% {
        transform: translateX(-10rem);
      }
      40% {
        transform: translateX(-20rem);
      }
      60% {
        transform: translateX(-10rem);
      }
      80% {
        transform: translateX(-10rem);
      }
      to {
        transform: translateX(0);
      }
    }

    @include common;

    .tuangouneirou {
      width: 7.8667rem;
      height: 3.2rem;
      margin: auto;
      border: 0px solid black;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;

      img {
        width: 3.2133rem;
        height: 1.2533rem;
      }
    }

    @include common;

    a {
      text-decoration: none;
      color: #000;

      .cainixihuan {
        width: 100%;
        display: flex;
        justify-content: space-around;
        margin-bottom: 0.2667rem;

        img {
          width: 2.8133rem;
          height: 2.1867rem;
        }

        .text1 {
          width: 4rem;

          p {
            &:first-of-type {
              font-size: 0.4rem;
              line-height: 0.7067rem;
              font-weight: bold;
            }

            &:nth-of-type(2) {
              font-size: 0.2933rem;
              color: #494949;
              line-height: 0.7067rem;

              span {
                line-height: 0.52rem;
              }
            }

            &:last-of-type {
              font-size: 0.4267rem;
              line-height: 0.52rem;
              color: #ff9344;
            }
          }
        }

        .text2 {
          display: flex;
          flex-direction: column;
          justify-content: space-around;
          margin-top: -0.2667rem;

          p {
            font-size: 0.2933rem;
            line-height: 0.52rem;
            color: #494949;
          }
        }
      }
    }
  }

  footer {
    width: 100%;
    height: 1.8rem;
    border: 0px solid black;
    background-color: #fff;
    margin-top: -0.2rem;
    display: flex;
    justify-content: space-around;
    position: fixed;
    left: 0;
    bottom: 0;

    a {
      text-decoration: none;
      color: #000;

      .tubiao {
        width: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        i {
          color: #ff9344;
          font-size: 0.9733rem;
          width: 0.9733rem;
          height: 0.9733rem;
        }

        p {
          font-size: 0.3467rem;
          line-height: 0.7067rem;
        }

        &:hover {
          i {
            color: blue;
          }
        }
      }
    }
  }
}
